﻿
SET QUOTED_IDENTIFIER ON
GO

SET ANSI_NULLS ON
GO

IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[sproc_WA_DeletePositionDutyTime]') AND type in (N'P', N'PC'))
    DROP PROCEDURE [dbo].[sproc_WA_DeletePositionDutyTime];
GO
CREATE PROCEDURE [dbo].[sproc_WA_DeletePositionDutyTime]
    @PositionID int
AS
BEGIN
SET NOCOUNT ON

DELETE FROM dbo.UDS_WorkAttendence_DutyTime WHERE ID = @PositionID;

END
GO